// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using Elastic.Clients.Elasticsearch.Fluent;
using Elastic.Clients.Elasticsearch.Serialization;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

namespace Elastic.Clients.Elasticsearch.Nodes;

public sealed partial class Processor
{
	/// <summary>
	/// <para>Number of documents transformed by the processor.</para>
	/// </summary>
	[JsonInclude, JsonPropertyName("count")]
	public long? Count { get; init; }

	/// <summary>
	/// <para>Number of documents currently being transformed by the processor.</para>
	/// </summary>
	[JsonInclude, JsonPropertyName("current")]
	public long? Current { get; init; }

	/// <summary>
	/// <para>Number of failed operations for the processor.</para>
	/// </summary>
	[JsonInclude, JsonPropertyName("failed")]
	public long? Failed { get; init; }

	/// <summary>
	/// <para>Time, in milliseconds, spent by the processor transforming documents.</para>
	/// </summary>
	[JsonInclude, JsonPropertyName("time_in_millis")]
	public long? TimeInMillis { get; init; }
}